package com.captjack.rest.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigInteger;


/**
 * The persistent class for the sys_relation database table.
 * 
 */
@Entity
@Table(name="sys_relation")
public class SysRelation implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	private BigInteger menuid;

	private int roleid;

	public SysRelation() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public BigInteger getMenuid() {
		return this.menuid;
	}

	public void setMenuid(BigInteger menuid) {
		this.menuid = menuid;
	}

	public int getRoleid() {
		return this.roleid;
	}

	public void setRoleid(int roleid) {
		this.roleid = roleid;
	}

}